package com.yisoo.ubag.product.feign;


import com.yisoo.common.to.EmailDataTo;
import com.yisoo.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("ubag-third-party")
public interface ThirdPartyFeignService {

    @PostMapping("/email/send/checkcode")
    R sendMail(@RequestBody EmailDataTo dataTo);

}
